-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: 모집공고 작성 임시저장 기능 구현 #166
Merged
Merged
+2,988
−958
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
hyosin-Jang
temporarily deployed
to
github-pages
April 30, 2024 10:48 — with
GitHub Actions
Inactive
abiriadev
requested changes
Apr 30, 2024
Co-authored-by: Abiria <[email protected]>
hyosin-Jang
temporarily deployed
to
github-pages
April 30, 2024 11:07 — with
GitHub Actions
Inactive
…ontend into feat/create-recruitment
hyosin-Jang
temporarily deployed
to
github-pages
April 30, 2024 11:40 — with
GitHub Actions
Inactive
# Conflicts: # src/Components/Common/InputText/index.tsx # src/Components/TemporarySavedCard/index.tsx # src/Pages/MyPage/index.tsx # src/Shared/study.ts # src/Types/study.ts # yarn.lock
…wner -> $isOwner) (SP-445)
… 변경 (isOwner -> $isOwner) (SP-445)" This reverts commit 9c472b2.
abiriadev
approved these changes
May 7, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
RHF를 굉장히 자세하게 조사해보신 점 멋집니다.
수고하셨습니다.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
closes #165
💡 다음 이슈를 해결했어요.
임시저장 기능 구현
💡 이슈를 처리하면서 추가된 코드가 있어요.
1. 임시저장하기 버튼 클릭한 경우
2. 마이페이지 > 임시저장 목록
parseTimestampFromUUID
함수로 timestamp를 구한 후, 최신순으로 정렬했습니다.3. 임시저장 글 이어서 작성하기
parseSelectValue
함수를 통해 초기값을<Select>
또는<Input>
에 들어가는 형태로 가공합니다.type: 'api', data: {apiResponse로 받은 데이터}
를 전달합니다.type: 'storage'
를 사용합니다.ex. applicationCount: 3 -> { label: '3명', value: 3 }
useTempSaved
훅으로 분리했습니다.4. 이어서 작성한 글을 임시 저장할 경우
이어서 작성한 글을 임시 저장할 경우, uuid를 현재 timestamp로 갱신해야 하기 때문에 key를 새로 생성하고 이전 key를 삭제합니다.
💡 필요한 후속작업이 있어요.
✅ 셀프 체크리스트